body{
    display: flex;
    flex-direction: column;
}
header{
    width: 100%;
    height: 44px;
    border-bottom: 1px solid #ccc;
    display: flex;
    .option{
        flex: 1;
        text-align: center;
        line-height: 44px;
        font-size: 16px;
        color: #888;
    }
    .pitch{
        font-size: 18px;
        color: #0056c7;
        border-bottom: 2px solid #0056c7;

    }
}
#mainbox{
    overflow-y: scroll;
}
main{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    .course{
        width: 95%;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        background: #fff;
      
        .txt{
            line-height: 30px;
            flex-shrink: 18px;
            margin: 10px 0;
        }
        .recommendCourse{
            width: 100%;
            height: 100%;

            .img{
                margin-bottom:30px;
                width: 100%;
                height: 230px;
                background-size: cover;
                box-shadow:1px 1px 5px 0 #000;
                border-radius: 15px;
                overflow: hidden;
                position: relative;
                img{
                    width: 100%;
                    height: 150px;
                }

                .texts{
                    width: 100%;
                    height: 60px;
                    background: rgba(255, 255, 255,.8);
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    padding: 0 5px;
                    font-size: 14px;
                    .txtTop{
                        font-size: 18px;
                        
                    }
                }
            }
        }
        
    }
    .curriculum{
        width: 95%;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        background: #fff;
      
        .curriculumtxt{
            line-height: 30px;
            flex-shrink: 18px;
            margin: 10px 0;
        }
        .listcourse{
            width: 100%;
            height: 100%;
            .img{
                margin-bottom:30px;
                width: 100%;
                height: 230px;
                background-size: cover;
                box-shadow:1px 1px 5px 0 #000;
                border-radius: 15px;
                overflow: hidden;
                position: relative;
                img{
                    width: 100%;
                    height: 150px;
                }

                .texts{
                    width: 100%;
                    height: 60px;
                    background: rgba(255, 255, 255,.8);
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    padding: 0 5px;
                    font-size: 14px;
                    .txtTop{
                        font-size: 18px;
                        
                    }
                }
            }   
        }
        
    }
}